package com.back.end.Modal;

import java.util.List;

public class Message {
    private int code;
    private String desc;
    private Object data;
    private boolean success;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return desc;
    }

    public void setMessage(String message) {
        this.desc = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
